﻿namespace DBBuilder.DBDataStructure
{
    /// <summary>
    /// Present an attribute as primary key of a table
    /// </summary>
    public class PrimaryKey
    {
        /// <summary>
        /// Name of primary keys
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// If Primary key is identify
        /// </summary>
        public bool IsIdentify { get; set; }

        /// <summary>
        /// The default constructor
        /// </summary>
        public PrimaryKey()
        {
            IsIdentify = false;
        }
    }
}
